package net.lazyandroid.namewars.utils ;

import android.app.Activity;

import com.google.android.apps.analytics.GoogleAnalyticsTracker;


/**
 * @author Shane
 *
 */
public class Tracker
{

	public static void start(Activity ctx)
	{
		GoogleAnalyticsTracker.getInstance().start(Constants.ANALYTICS_ID, ctx);
	}
	
	public static void stop()
	{
		GoogleAnalyticsTracker.getInstance().stop();
	}
	
	public static void traceEvent(String category, String action, String label, int value)
	{
		GoogleAnalyticsTracker.getInstance().trackEvent(category, action, label, value);
	}
}